package com.example.jpushdemo.controller;

import com.example.jpushdemo.util.PushExample;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Zhaoluowei
 * @version 1.0
 * @date 2019/9/3 11:25
 */
@RestController
@RequestMapping(value = "/push")
public class PushController {


    @RequestMapping(value = "/pushTest", method = RequestMethod.POST)
    public void pushTest() {
        PushExample.AppSendPush("", "万泰你好", "","");
    }


}
